//
//  SideslipCell.m
//  GameBoss
//
//  Created by dllo on 15/4/24.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "SideslipCell.h"

@implementation SideslipCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.sideslipImageView = [[UIImageView alloc] initWithFrame:CGRectMake(35, 15, 50, 50)];
        [self.contentView addSubview:self.sideslipImageView];
        self.sideslipImageView.alpha = 0.8;
        self.sideslipImageView.backgroundColor = [UIColor clearColor];
        [_sideslipImageView release];
        
        self.sideslipLabel = [[UILabel alloc] initWithFrame:CGRectMake(110, 15, 100, 50)];
        self.sideslipLabel.font = [UIFont systemFontOfSize:24];
        self.sideslipLabel.textColor = [UIColor whiteColor];
        [self.contentView addSubview:self.sideslipLabel];
        [_sideslipLabel release];
    }
    return self;
}

-(void)dealloc{
    [_sideslipImageView release];
    [_sideslipLabel release];
    [super dealloc];
}
@end
